package org.ypx.center.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.ypx.db.entity.User;
import org.ypx.db.entity.UserInfo;
import org.ypx.db.entity.UserRole;
import org.ypx.shared.common.Result;
import org.ypx.shared.service.vo.UserInfoVO;

import java.util.List;

/**
 * @author tingwen
 * @date 2017/3/29 20:53
 * @description
 */
public interface UserInfoController extends BaseController<UserInfo> {

    Result<List<UserInfo>> saveUserInfo(UserInfo entity, User user, UserRole userRole);

    Result<List<UserInfoVO>> selectInfo(UserInfo entity, User user, UserRole userRole);
}
